Visual Basic (Declaration) | |
---|---|
Public Overloads Function ProjectTaskAsync( _ ByVal graphics As IEnumerable(Of Graphic), _ ByVal outSpatialReference As SpatialReference, _ ByVal datumTransform As DatumTransform, _ ByVal cancellationToken As CancellationToken, _ Optional ByVal transformForward As Boolean _ ) As Task(Of ProjectionResult) |
C# | |
---|---|
public Task<ProjectionResult> ProjectTaskAsync( IEnumerable<Graphic> graphics, SpatialReference outSpatialReference, DatumTransform datumTransform, CancellationToken cancellationToken, bool transformForward ) |
Parameters
- graphics
- The graphics containing the geometry to project.
- outSpatialReference
- The SpatialReference to project to.
- datumTransform
- The datum transformation object. Support for DatumTransfom works with ArcGIS Server 10.1+
- cancellationToken
- The cancellation token.
- transformForward
- If ESRI.ArcGIS.Client.Geometry.DatumTransform is provided transformFoward value will indicate to project datum forward if true or backwards if false. Support for DatumTransfom works with ArcGIS Server 10.1+
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8